<!DOCTYPE html>
<html lang="en">
  <head>
	<title>
		<?php echo $title_for_layout; ?>
	</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

	<?php
		echo $this->Html->meta('icon');

		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
		echo $this->Html->css('cake.admin-style');
	?>

  	<!-- Latest compiled and minified CSS -->
<!--  	<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">-->
<?php 		echo $this->Html->css('admin/bootstrap.min');  ?>
  	<!-- Latest compiled and minified JavaScript -->
<!--  	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
  	<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
-->
<?php 		
echo $this->Html->script('admin/jquery.min');  
echo $this->Html->script('admin/bootstrap.min.js');  

?>
<!--      <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.2/html5shiv.js"></script>
      <script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js"></script>
-->
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
<?php 		echo $this->Html->script('admin/html5shiv');  ?>
<?php 		echo $this->Html->script('admin/respond.min');  ?>

    <![endif]-->

    <style type="text/css">
    	body{ padding: 70px 0px; }
    </style>

  </head>
  <?php $direction	=	'ltr';
		if($this->Session->check('Config.language_catalog')){
			$language_catalog	=	$this->Session->read('Config.language_catalog');
			if($language_catalog['direction']=='rtl'){
				echo $this->Html->css('property/rtl/bootstrap-rtl.min.css');
			//	echo $this->Html->css('property/rtl/rtl.css');
			}
		}
?>
  <body>

    <?php echo $this->Element('navigation'); ?>

    <div class="container">

			<?php echo $this->Session->flash(); ?>

			<?php echo $this->fetch('content'); ?>

    </div><!-- /.container -->
	<?php echo $this->element('sql_dump'); ?>
  </body>
</html>
